package org.jeecg.modules.car.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.entity.basedata.BaseProject;
import org.jeecg.entity.car.CarPort;

import java.util.List;

/**
 * @Description: 车位管理
 * @Author: jeecg-boot
 * @Date:   2020-08-26
 * @Version: V1.0
 */
public interface ICarPortService extends IService<CarPort> {
    List<CarPort> getCarPortByCarParkId(String parkId);

    CarPort getByParkIdAndPortNum(String parkId, String carportNum);

    List<CarPort> findPage(Page<CarPort> page,CarPort carPort);

    BaseProject getProjectByName(String projectName);

    CarPort queryById(String id, String tenantId);

    List<CarPort> findByParkId(String parkId);

    List<CarPort> queryCarPortName(String parkId);
}
